<!DOCTYPE html>
<html >
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>six-mall | 后台管理系统</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- Font Awesome -->
    <link rel="shortcut icon" href="img/favicon.ico"/>
    <link rel="stylesheet" href="css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="css/ionicons.min.css">
    <link rel="stylesheet" href="css/main.css">
    <link rel="stylesheet" href="plugins/bootstrap/css/bootstrap.css"/>
    <link rel="stylesheet" href="plugins/sweetalert/sweetalert.css"/>
    <link rel="stylesheet" href="plugins/jqgrid-5.3.0/ui.jqgrid-bootstrap4.css"/>
    <!-- Theme style -->
    <link rel="stylesheet" href="css/adminlte.min.css">
	<style>
		.sidebar-dark-primary{
			background-color: #ffffff;
		}
		.sidebar-dark-primary .sidebar a{
			color:#17a2b8
		}
		.sidebar :hover {
			color:#17a2b8;
		}
		.sidebar-dark-primary .nav-header{
			color:#000000
		}
	</style>
	<style>
		.ui-jqgrid tr.jqgrow td {
			white-space: normal !important;
			height: auto;
			vertical-align: text-top;
			padding-top: 2px;
		}

		a {
			color: #1baeae;
			text-decoration: none;
			background-color: transparent;
			-webkit-text-decoration-skip: objects;
		}

		a:hover {
			color: white;
			background-color: #1baeae;
		}
	</style>
</head>
<body class="hold-transition sidebar-mini">
<div class="wrapper">
<!-- Main content -->
	<div class="content">
		<div class="container-fluid">
			<div class="card card-primary card-outline">
				<div class="card-header">
					<h3 class="card-title">订单管理</h3>
				</div> <!-- /.card-body -->
				<div class="card-body">
					<div class="grid-btn">
						<button class="btn btn-info" onclick="orderEdit()"><i
								class="fa fa-pencil-square-o"></i>&nbsp;修改订单
						</button>
						<button class="btn btn-info" onclick="orderCheckDone()"><i
								class="fa fa-truck"></i>&nbsp;配货完成
						</button>
						<button class="btn btn-info" onclick="orderCheckOut()"><i
								class="fa fa-truck"></i>&nbsp;出库
						</button>
						<button class="btn btn-danger" onclick="closeOrder()"><i
								class="fa fa-trash-o"></i>&nbsp;关闭订单
						</button>
					</div>
					<table id="jqGrid" class="table table-bordered">
					</table>
					<div id="jqGridPager"></div>
				</div><!-- /.card-body -->
			</div>
		</div><!-- /.container-fluid -->
	</div>
	<div class="content">
		<!-- 模态框（Modal） -->
		<div class="modal fade" id="orderInfoModal" tabindex="-1" role="dialog"
			 aria-labelledby="orderInfoModalLabel">
			<div class="modal-dialog" role="document">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
								aria-hidden="true">&times;</span></button>
						<h6 class="modal-title" id="orderInfoModalLabel">Modal</h6>
					</div>
					<div class="modal-body">
						<form id="##">
							<div class="form-group">
								<div class="alert alert-danger" id="edit-error-msg" style="display: none;">
									错误信息展示栏。
								</div>
							</div>
							<input type="hidden" id="orderId">
							<div class="form-group">
								<label for="totalPrice" class="control-label">订单价格:&nbsp;&nbsp;&nbsp;&nbsp;</label>
								<input type="number" class="form-control" id="totalPrice" name="totalPrice"
									   placeholder="请输入改价金额" required="true">
							</div>
							<div class="form-group">
								<label for="userAddress"
									   class="control-label">收件人信息:&nbsp;&nbsp;&nbsp;&nbsp;</label>
								<input type="text" class="form-control" id="userAddress" name="userAddress"
									   placeholder="请输入收件人地址" value="##">
							</div>

						</form>
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
						<button type="button" class="btn btn-primary" id="saveButton">确认</button>
					</div>
				</div>
			</div>
		</div>
		<!-- /.modal -->
	</div>
	<div class="content">
		<!-- 模态框（Modal） -->
		<div class="modal fade" id="expressInfoModal" tabindex="-1" role="dialog"
			 aria-labelledby="expressInfoModalLabel">
			<div class="modal-dialog" role="document">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
								aria-hidden="true">&times;</span></button>
						<h6 class="modal-title" id="expressInfoModalLabel">Modal</h6>
					</div>
					<div class="modal-body">
						<form id="##">
							<div class="form-group">
								<label class="control-label">收件信息:</label>
								<label id="userAddressInfo" class="control-label"></label>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
		<!-- /.modal -->
	</div>
	<div class="content">
		<!-- 模态框（Modal） -->
		<div class="modal fade" id="orderItemModal" tabindex="-1" role="dialog"
			 aria-labelledby="orderItemModalLabel">
			<div class="modal-dialog" role="document">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
								aria-hidden="true">&times;</span></button>
						<h6 class="modal-title" id="orderItemModalLabel">Modal</h6>
					</div>
					<div class="modal-body">
						<form id="##">
							<div class="form-group">
								<label id="orderItemString" class="control-label"></label>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
		<!-- /.modal -->
	</div>

</div>
<!-- jQuery -->
<script src="plugins/jquery/jquery.min.js"></script>
<!-- jQuery UI 1.11.4 -->
<script src="plugins/jQueryUI/jquery-ui.min.js"></script>
<!-- Bootstrap 4 -->
<script src="plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- AdminLTE App -->
<script src="js/adminlte.min.js"></script>
<!-- jqgrid -->
<script src="plugins/jqgrid-5.3.0/jquery.jqGrid.min.js"></script>
<script src="plugins/jqgrid-5.3.0/grid.locale-cn.js"></script>
<script src="plugins/jqgrid-5.3.0/grid.locale-cn.js"></script>
<!-- sweetalert -->
<script src="plugins/sweetalert/sweetalert.min.js"></script>
<script src="js/public.js"></script>
<script src="js/mall_order.js"></script>
</body>
</html>
